.page-main {
  height: 100%;
  display: flex;
  flex-direction: column;
  .page-scroll-content {
    flex: 1;
    overflow: hidden;
  }
  .page-scroll-content > div {
    height: 100%;
    overflow: scroll;
  }
}

.page-container {
  padding: 0 16px 16px;
}
.CommonCard-container {
  padding: 16px;
  background-color: #f7f9fa;
  border-radius: 8px;
  margin-top: 16px;
}

page,
html,
body,
#app {
  height: 100% !important;
  background-color: #f2f2f2;
}
#app {
  background-image: url('@/assets/img/commonBg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

// 默认字体大小行高
* {
  font-size: 16px;
  line-height: 1.3846;
}

// flex
.f {
  display: flex;
}
.f-c-c {
  display: flex;
  justify-content: center;
  align-items: center;
}
.f-j-b {
  display: flex;
  justify-content: space-between;
}
.f-j-a {
  display: flex;
  justify-content: space-around;
}
.f-j-c {
  display: flex;
  justify-content: center;
}
.f-j-e {
  display: flex;
  justify-content: flex-end;
}

.f-a-c {
  display: flex;
  align-items: center;
}

/* 文字单行省略号 */
.sle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 文字多行省略号 */
.mle {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

//修改vant的主题颜色
:root {
//   --van-blue: @themeColor;
//   --van-background-2: transparent;

//   // nav-bar
//   --van-nav-bar-height: 46px;
//   --van-nav-bar-title-font-size: 17px;
//   --van-nav-bar-title-text-color: #000;
//   --van-nav-bar-arrow-size: 16px;

//   // tab页签
//   --van-tabs-bottom-bar-color: linear-gradient(90deg, #3f9b6a 0%, rgba(63, 155, 106, 0) 100%);
//   --van-tabs-bottom-bar-height: 8px;
//   --van-tab-font-size: 15px;
//   --van-tab-line-height: 40px;
//   --van-tabs-line-height: 40px;

//   // 搜索框
//   --van-search-padding: 10px 16px;
//   --van-search-background: transparent;
//   --van-search-content-background: rgba(0, 0, 0, 0.04);
//   --van-search-input-height: 30px;
//   --van-field-icon-size: 18px;

//   // tag
//   --van-tag-line-height: 16px;
//   --van-tag-font-size: 11px;
//   --van-tag-padding: 0 6px;
}
.van-tabs__nav--line.van-tabs__nav--shrink,
.van-tabs__nav--line.van-tabs__nav--complete {
  padding-left: 16px;
}
.van-textArea {
  background-color: #f7f9fa;
  border-radius: 8px;
}

// 混动盒子
.scroll-box {
  height: 100%;
  overflow: scroll;
}
